package com.zsk.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Administrator
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("商城商品分类实体")
public class ShopGoodsCategory {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "主键编号", dataType = "Long")
    private Long id;

    @ApiModelProperty(name = "categoryNo", value = "自己", dataType = "String")
    private String categoryNo;

    @ApiModelProperty(name = "partnerCategoryNo", value = "父级no,一级为''", dataType = "String")
    private String partnerCategoryNo;

    @ApiModelProperty(name = "level", value = "1及分类2级分类", dataType = "Integer")
    private Integer level;

    @ApiModelProperty(name = "categoryName", value = "分类名称", dataType = "String")
    private String categoryName;

    @ApiModelProperty(name = "categoryName", value = "类目图标", dataType = "String")
    private String categoryImg;

    @ApiModelProperty(name = "sort", value = "权重", dataType = "Integer")
    private Integer sort;

    @ApiModelProperty(name = "isShow", value = "是否显示 1显示0不显示", dataType = "Boolean")
    private Boolean isShow;

    @ApiModelProperty(name = "isDeleted", value = "是否删除 1已删除0不", dataType = "Boolean")
    private Boolean isDeleted;

    @ApiModelProperty(name = "createTime", value = "新增时间", dataType = "Date")
    private Date createTime;

    @ApiModelProperty(name = "updateTime", value = "修改时间", dataType = "Date")
    private Date updateTime;

}